﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="UserManagement.aspx.cs" Inherits="CaseStudy.UserManagement" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:Repeater ID="rptUser"  runat="server">
    <HeaderTemplate>
            <tr>
                <h3>USERS</h3> 
        <table class="table table-striped table-condensed">
            <thead>
            <tr>
                <th> User ID</th>
                <th> Username</th>
                <th> Fullname</th>
                <th> Description</th>
                <th> Action</th>
            </tr>
            </thead>
            <tbody>
    </HeaderTemplate>
    <ItemTemplate>
            <tr>
                <td> <%# Eval("ID") %></td>
                <td> <%# Eval("username") %></td>
                <td> <%# Eval("fullname") %></td>
                <td> <%# Eval("description") %></td>
                <td> <a href="EditUser.aspx?uid=<%# Eval("ID") %>" title="Edit" ><i class="icon-edit"></i></a> &nbsp; <a href="DeleteUser.aspx?uid=<%# Eval("ID") %>" title="Delete" ><i class="icon-trash"></i></a> </td>
            </tr>
            
    </ItemTemplate>
    <FooterTemplate>
        </tbody>
        </table>
    </FooterTemplate>
</asp:Repeater>
</asp:Content>
